package eu.flexblog.core.interfaces
{
	import flash.display.DisplayObject;
	
	public interface IFBModuleShell
	{
		/**
		 * A widget may add a view component to the canvas.
		 * <P>
		 * Though the display object reference is added to
		 * the view hierarchy of the app, it is still managed
		 * by a mediator running inside the widget itself.</P>
		 * 
		 * @param displayObject to add to the canvas
		 */
		function addComponent(component:DisplayObject):void;
		
		/**
		 * A widget may remove a view component it added to the canvas.
		 * <P>
		 * 
		 * @param displayObject to add to the canvas
		 */
		function removeComponent(component:DisplayObject):void;
		
	}
}